package com.hrp.book.utils

import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import com.hrp.book.base.BaseApp

object DisplayUtils {

    @ColorInt
    fun getColor(@ColorRes id: Int): Int {
        return ContextCompat.getColor(BaseApp.getContext(), id)
    }
}